/*
 * TripItem.java
 *
 * Copyright 2008 David D. Emory
 * 
 * This file is part of Five Points. See <http://www.fpdev.org> for
 * additional information regarding the project.
 * 
 * Five Points is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Five Points is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Five Points.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.fpdev.core.trip;

import java.awt.geom.Rectangle2D;
import java.util.List;
import org.fpdev.core.basenet.BaseNetwork;
import org.fpdev.apps.rtemaster.gui.map.MapCanvas;

public interface TripItem {

  public static final int TRIP_WALK = 1;
  public static final int TRIP_WALKSUB = 2;
  public static final int TRIP_BIKE = 3;
  public static final int TRIP_BIKESUB = 4;
  public static final int TRIP_TRANSIT = 5;
  public static final int TRIP_WAIT = 6;
  public static final int TRIP_NAVIGATE = 7;

  public List<Integer> getLinkIDList();

  public String getXml(BaseNetwork net);

  public String getItemName();
          
  public String getText();

  public int getType();

  public int getStart();

  public int getEnd();

  public int subItemCount();

  public void draw(MapCanvas canvas);

  public Rectangle2D getBoundingBox();
}
























